package com.ruoyi.model.mapper;

import java.util.List;
import com.ruoyi.model.domain.TVehicleModel;

/**
 * 车型Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-26
 */
public interface TVehicleModelMapper 
{
    /**
     * 查询车型
     * 
     * @param modelId 车型主键
     * @return 车型
     */
    public TVehicleModel selectTVehicleModelByModelId(Long modelId);

    /**
     * 查询车型列表
     * 
     * @param tVehicleModel 车型
     * @return 车型集合
     */
    public List<TVehicleModel> selectTVehicleModelList(TVehicleModel tVehicleModel);

    /**
     * 新增车型
     * 
     * @param tVehicleModel 车型
     * @return 结果
     */
    public int insertTVehicleModel(TVehicleModel tVehicleModel);

    /**
     * 修改车型
     * 
     * @param tVehicleModel 车型
     * @return 结果
     */
    public int updateTVehicleModel(TVehicleModel tVehicleModel);

    /**
     * 删除车型
     * 
     * @param modelId 车型主键
     * @return 结果
     */
    public int deleteTVehicleModelByModelId(Long modelId);

    /**
     * 批量删除车型
     * 
     * @param modelIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTVehicleModelByModelIds(Long[] modelIds);
}
